/**
 * desc: 任务相关接口
 */

import request from '../../utils/request'


// 查看文档资料
const getDocument = (id) => {
  return request({
    url: '/api/document/'+id,
    method: 'GET'
  })
}

// 文档资料列表
const getDocumentList = (data) => {
  return request({
    url: '/api/document/page?start='+data.start+'&count='+data.count,
    method: 'GET'
  })
}
module.exports = {
  getDocument,
  getDocumentList
}